<?php
/**
 * ShopEx licence edit by kim
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */

$db['operator_member']=array (
  'columns' =>
  array (
	//=====================================集货员基本信息===============================
    'id' =>
    array (
      'type' => 'number',
      'required' => true,
      'pkey' => true,
      'extra' => 'auto_increment',
      'label' => app::get('b2c')->_('id'),
      'width' => 150,
      'comment' => app::get('b2c')->_('id'),
      'editable' => false,
      'in_list' => false,
      'default_in_list' => false,
    ),
    'member_id' =>
    array (
      'type' => 'table:members',
      'default' => 0,
      'required' => true,
      'editable' => false,
      'comment' => app::get('b2c')->_('集货员ID'),
    ),
	'name' =>
    array (
      'type' => 'varchar(100)',
      'label' => app::get('b2c')->_('姓名'),
      'width' => 180,
	  'searchtype' => 'has',
      'is_title' => true,
      'comment' => app::get('b2c')->_('姓名'),
      'editable' => true,
      'in_list' => true,
      'default_in_list' => true,
    ),
	'company_area' => 
    array (
      'label' => app::get('b2c')->_('所在地区'),
      'width' => 110,
      'type' => 'region',
      'editable' => false,
      'filtertype' => 'yes',
      'filterdefault' => 'true',
      'in_list' => true,
      'default_in_list' => false,
    ),
	'company_addr' => 
    array (
      'type' => 'varchar(255)',
      'label' => app::get('b2c')->_('地址'),
      'width' => 110,
      'editable' => true,
      'filtertype' => 'normal',
      'in_list' => true,
      'default_in_list' => false,
      
    ),
	'phone_setting' => 
    array(
       'type' => 'varchar(20)',
       'label' => app::get('b2c')->_('电话区号'),
	   'in_list' => true,
	   'default_in_list' => true,
    ),
	'tel' => 
    array (
      'type' => 'varchar(30)',
      'label' => app::get('b2c')->_('联系人电话'),
      'width' => 110,
      'searchtype' => 'head',
      'editable' => true,
      'filtertype' => 'normal',
      'filterdefault' => 'true',
      'in_list' => true,
      'default_in_list' => true,
    ),
	'wx_name' => 
    array (
      'type' => 'varchar(50)',
      'label' => app::get('b2c')->_('联系人微信'),
      'width' => 110,
      'searchtype' => 'head',
      'editable' => true,
      'filtertype' => 'normal',
      'filterdefault' => 'true',
      'in_list' => true,
      'default_in_list' => false,
    ),
	'regtime' =>
    array (
      'label' => app::get('b2c')->_('注册时间'),
      'width' => 75,
      'type' => 'time',
      'editable' => false,
      'filtertype' => 'time',
      'filterdefault' => true,
      'in_list' => true,
      'default_in_list' => true,
      'comment' => app::get('b2c')->_('注册时间'),
    ), 
),
	'engine' => 'innodb',
	'version' => '$Rev$',
	'comment' => app::get('b2c')->_('集货员基本信息表'),
);